package com.imooc.dao;

import com.imooc.entity.Area;

import java.util.List;

public interface AreaMapper {

    int deleteByPrimaryKey(Integer areaId);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(Integer areaId);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);

    /**
     * 列出区域列表
     * @return
     */
    List<Area> queryArea();
}